import org.softmed.rest.server.core.restlet.RESTConfigRefresher;
import org.restlet.data.MediaType;

println "trying to refresh the REST Admin service";

println "getting server uri : " + RESTConfigRefresher.getServer().getRootURI();

response.setEntity(RESTConfigRefresher.getServer().getRootURI(),MediaType.TEXT_PLAIN);

println "done";